scrollbar steppers are now ETCHED_IN
authorcinamod <cinamod>
Wed, 5 Nov 2003 15:10:27 +0000 (15:10 +0000)
committercinamod <cinamod>
Wed, 5 Nov 2003 15:10:27 +0000 (15:10 +0000)
modules/engines/ms-windows/ChangeLog.old
modules/engines/ms-windows/wimp_style.c

index a7b6871293f092b57aa2815f93870e76be8a2d76..a74956e6f2ace6a0341567065e041b3f6ea9c461 100755 (executable)
@@ -1,3 +1,8 @@
+2003-11-05  Dom Lachowicz <cinamod@hotmail.com>\r
+\r
+       * src/wimp_style.c: Toolbar steppers get drawn ETCHED_IN when pressed now. More \r
+       consistent with Win32 behavior.\r
+       \r
 2003-11-04  Dom Lachowicz <cinamod@hotmail.com>\r
 \r
        * src/xp_theme.c: Move Raymond's scrollbar work into wimp_style.c\r
index 1b6b067ea0b72388fc7f081c52c2852cec007c9a..e1a17b85ebb03b152011d801b2cac2bbd4a91ad6 100755 (executable)
@@ -1284,6 +1284,11 @@ draw_box (GtkStyle      *style,
           return;
         }
     }
+  else if (detail && (strcmp (detail, "vscrollbar") == 0 || strcmp (detail, "hscrollbar") == 0))
+  {
+         if (shadow_type == GTK_SHADOW_IN)
+               shadow_type = GTK_SHADOW_ETCHED_IN;
+  }
   else
   {
         const gchar * name = gtk_widget_get_name (widget);